package com.fanghuaiming.test.c4.阻塞;

import java.io.IOException;
import java.net.InetSocketAddress;
import java.nio.channels.SocketChannel;

/****
 * @description:
 * @version:1.0.0
 * @author fanghuaiming
 * @data Created in 2021/9/21 下午4:45
 *
 */
public class Client {

  public static void main(String[] args) throws IOException {
      SocketChannel sc = SocketChannel.open();
      sc.connect(new InetSocketAddress("localhost",8080));
      System.out.println("waiting...");
  }
}
